
import { CustomElement } from "@/js/components/CustomElement"

export class BaseSvg extends CustomElement{
    constructor(){
        super();
    }

    setTag(tag=this.tagName){
        this.$el = document.createElementNS("http://www.w3.org/2000/svg",tag);
        this.tagName = tag;
        this.$el.that = this;
        this.updateStyle();
        return this;
    }
}